package org.moore.model;

// 用户模型类
public class User {
	// 定义用户id
	private static int id ;
	// 定义用户账号
	private final String account;
	// 定义用户密码
	private final String password;
	// 定义用户昵称
	private final String name;

	public User(int id, String account, String password, String name) {
		User.id = id;
		this.account = account;
		this.password = password;
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public String getPassword() {
		return password;
	}

	public String getAccount() {
		return account;
	}

	public static int getId() {
		return id;
	}

}


